<%@ page import="aiball.League" %>



<div class="fieldcontain ${hasErrors(bean: leagueInstance, field: 'name', 'error')} required">
	<label for="name">
		<g:message code="league.name.label" default="Name" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="name" maxlength="32" pattern="${leagueInstance.constraints.name.matches}" required="" value="${leagueInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: leagueInstance, field: 'description', 'error')} ">
	<label for="description">
		<g:message code="league.description.label" default="Description" />
		
	</label>
	<g:textArea name="description" cols="40" rows="5" maxlength="512" value="${leagueInstance?.description}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: leagueInstance, field: 'password', 'error')} ">
	<label for="password">
		<g:message code="league.password.label" default="Password" />
		
	</label>
	<g:field type="password" name="password" value="${leagueInstance?.password}"/>
</div>

